import type { App } from 'vue';
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
// 本地SVG图标
import 'virtual:svg-icons-register';

// 注册所有图标
export function setupIcons(app: App) {
  for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
  }
}
